package com.pxxy.common.constant;

/**
 * @Author zhangjj
 * @since 2023/12/28
 */

/**
 * spu商品状态上架状态[0 - 下架，1 - 上架]
 */

public class SpuPublishStatus {


    /**
     * spu商品状态上架状态[0 - 下架，1 - 上架]
     */
    public enum PublishStatus {

        NEW_SPU(0, "新建"),

        SPU_UP(1,"商品上架"),

        SPU_DOWN(2,"商品下架");

        private Integer code;
        private String msg;

        PublishStatus(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }
}

